package chapter10.exercise.test01;

public class Outer {

    private class Inter {
        private String label;

        public Inter(String label) {
            this.label = label;
        }

        public void read() {
            System.out.println(label);
        }
    }

    public Inter getInter(String str) {
        return new Inter(str);
    }

    public static void main(String[] args) {
        Outer outer = new Outer();
        Outer.Inter oi = outer.getInter("你好啊");
        oi.read();
    }
}
